<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Upload file</title>
</head>
<body>

<c:choose>
	<c:when test="${blobstore}">
		<form action="${uploadUrl}" method="POST" enctype="multipart/form-data">
	</c:when>
	<c:otherwise>
		<form action="/cms/file/upload/small" method="POST" enctype="multipart/form-data">
	</c:otherwise>
</c:choose>

<table>
	<tr>
		<td>Title</td>
		<td><input type="text" name="title" /></td>
	</tr>
	<tr>
		<td>Description</td>
		<td><input type="text" name="description" /></td>
	</tr>
	<tr>
		<td>URI</td>
		<td><input type="text" name="uri" /></td>
	</tr>
	<tr>
		<td>Upload</td>
		<td><input type="file" name="file" /></td>
	</tr>
	<tr>
		<td colspan="2"><input type="submit" value="Upload" /></td>
	</tr>
</table>
</form>
</body>
</html>